<?php
/**
 * Thrown when an assertion failed.
 *
 * @category   Testing
 * @package    PHPUnit
 * @author     Sebastian Bergmann <sb@sebastian-bergmann.de>
 * @copyright  2002-2010 Sebastian Bergmann <sb@sebastian-bergmann.de>
 * @license    http://www.opensource.org/licenses/bsd-license.php  BSD License
 * @version    Release: 3.4.6
 * @link       http://www.phpunit.de/
 * @since      Class available since Release 2.0.0
 */
class AssertionFailedError extends Exception{
    /**
     * Wrapper for getMessage() which is declared as final.
     *
     * @return string
     */
    public function toString(){
        return $this->getMessage();
    }
}
?>
